from pydantic import BaseModel

from entity.schema.user_schema import BaseSchema


class RoleCreate(BaseModel):
    name: str
    desc: str

class RoleOut(BaseSchema):
    id: int
    name: str
    desc: str